package com.xjh.t.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DataGridView {

    private Integer code = 0;
    //private Integer code = 200;

    private String msg = "";
    private long count = 0;

    private Object data;
    private Object otherMsg;

    public DataGridView(long count, Object data) {
       super();
        this.count = count;
        this.data = data;
    }

    public DataGridView(long count, Object data, Object otherMsg) {
        this.count = count;
        this.otherMsg = otherMsg;
        this.data = data;
    }

    public DataGridView(Object data) {
        super();
        this.data = data;
    }
}
